import request from '@/utils/request'

// 查询专业发展列表
export function listCourseInfowhy(query) {
  return request({
    url: '/school/courseInfowhy/list',
    method: 'get',
    params: query
  })
}

// 查询专业发展详细
export function getCourseInfowhy(id) {
  return request({
    url: '/school/courseInfowhy/' + id,
    method: 'get'
  })
}

// 新增专业发展
export function addCourseInfowhy(data) {
  return request({
    url: '/school/courseInfowhy',
    method: 'post',
    data: data
  })
}

// 修改专业发展
export function updateCourseInfowhy(data) {
  return request({
    url: '/school/courseInfowhy',
    method: 'put',
    data: data
  })
}

// 删除专业发展
export function delCourseInfowhy(id) {
  return request({
    url: '/school/courseInfowhy/' + id,
    method: 'delete'
  })
}
